<#if (articleResult?exists && articleResult.data?exists && articleResult.data?size > 0)>
    <#list articleResult.data as article>
    <article class="post-list" role="article">
        <header class="post-header">
            <h2 class="post-title">
            <#--<span class='new-label'>近期更新</span>-->
                <i class='new-arrow'></i>
                <a rel="bookmark" title="${article.title}" href="${base}/article/${article.id}">${article.title}</a>
            </h2>
        </header>
        <div class="post-meta">
            <span class="pauthor"><i class="icon-user"></i>${article.createUserName}</span>
            <span class="ptime"><i class="icon-calendar"></i> ${article.createTime?datetime}</span>
            <span class="pcate">
                <i class="icon-tree"></i>
                <#if article.category?exists>
                    <a href="${base}/article/category/${article.category.id}">${article.category.name!""}</a>
                </#if>
            </span>
            <span class="pcomm"><i class="icon-eye"></i>${article.viewCount}人围观</span>
            <span class="pview">
                <i class="icon-comment"></i>
                <a title="查看《${article.title}》的吐槽" href="${base}/article/${article.id}#SOHU_MAIN"><span
                        id="sourceId::${article.id}" class="cy_cmt_count"></span>次吐槽</a>
            </span>
        </div>
        <div class="post-content">
            <#if (article.imageList?exists && article.imageList?size > 0)>
                <div class="post-thumbnail">
                    <a href="${base}/article/${article.id}">
                        <img style="border-radius:3px" title="${article.title}"
                             src="${article.imageList[0].url}"/>
                    </a>
                </div>
            </#if>
            <div class="post-excerpt">
                <@article_summary content=article.content/>
            </div>
            <div class="clear"></div>
            <div class="goon">
                <a href="${base}/article/${article.id}">阅读全文</a>
            </div>
        </div>
    </article>
    </#list>
<div class="pagenavi">
    <#if (articleResult.pager.page > 1)>
        <a href="${base}/?page=${articleResult.pager.page - 1}">&laquo; 上一页</a>
    </#if>
    <#if (articleResult.pager.page < articleResult.totalPage)>
        <a href="${base}/?page=${articleResult.pager.page + 1}">下一页 &raquo;</a>
    </#if>
</div>
<script id="cy_cmt_num" src="http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyqLTvgvJ"></script>
</#if>